home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / lightwave / cgplwlist / cgplw00251-00500.txt / 000178_N609999652@amuc.mtroyal.ab.ca_Thu Dec 8 14:18:24 PST 1994.msg < prev    next >
Text File  |  1994-12-25  |  3KB  |  68 lines

  1. Article: 431 of comp.graphics.packages.lightwave
  2. Xref: netcom.com comp.graphics.packages.lightwave:431
  3. Path: netcom.com!ix.netcom.com!howland.reston.ans.net!pipex!uunet!newsflash.concordia.ca!newsflash.concordia.ca!canopus.cc.umanitoba.ca!tribune.usask.ca!quartz.ucs.ualberta.ca!news.ucalgary.ca!cgate.sait.ab.ca!mtroyal.ab.ca!chaotic.mtroyal.ab.ca!amuc!N609999652
  4. Newsgroups: comp.graphics.packages.lightwave
  5. Subject: RE: Texture images
  6. Message-ID: <1fd8ec70.1d8eef0e@amuc.mtroyal.ab.ca>
  7. From: N609999652@amuc.mtroyal.ab.ca (ArmandoRuggeri)
  8. Date: 07 Dec 94 03:14:50 MST
  9. References: <3bkrnd$7tn@nova.umd.edu> <3bns8k$ddm@ug1.plk.af.mil>
  10. Distribution: na
  11. Organization: The AMiga Users of Calgary
  12. Lines: 53
  13.  
  14. Douglas Rudd writes:
  15.  
  16. >I am using LW3.5 and am having problems with texture maps (bit maps)
  17. >repeating or tiling and the color 0 mapping onto the surface. I am
  18. >trying to place an insignia on an aircraft, and the black background
  19. >of the insignia maps on the aircraft and the insignia tiles across the
  20. >surface. I've read everything in the manual on this topic but could 
  21. >find nothing to stop the tile or genloc the color 0.
  22.  
  23. >If it IS in the manual, please just give me the page/paragraph.
  24.  
  25. >Doug Rudd
  26. ---------------------------------------------------------------------------
  27.  
  28. Unfortunately there is no "Alpha Channel" support for image textures! (I find it one of the worst
  29. failings of LW!).
  30.  
  31. There are 2 ways to get around this:
  32.  
  33.             1) If the background colour of your object is consistently 1 colour then you can compose
  34.                your image over an alpha channel render of your object.
  35.  
  36.                         Step 1) Render an alpha channel image of you object
  37.                         Step 2) In a paint program fill in the "Black" portion of the redered image
  38.                                 with any colour you wish your BG to be"
  39.                         Step 3) Compose you "Decal" in the corect position on the "White" portion of
  40.                                 the rendered image.
  41.                         Step 4) Fill in the "White" portion of the rendered alpha channel with the
  42.                                 same BG colour.
  43.  
  44.                         Step 5) Apply your image as a map on your object. (You may have to play with
  45.                                 size and position settings for it to be perfect)
  46.  
  47.             2) You can cut a polygon to rename and set an alternate surface to.
  48.  
  49.                         Step 1) Take your "decal" and make an object out of it with a program like
  50.                                 Pixel 3D, or use your image as a background image in LW modeler and
  51.                                 create an object manually.(Make sure you extrude your object into the
  52.                                 plane you are going to be cutting into.) 
  53.  
  54.                         Step 2) Using the "Slice" tool, cut the polygon(s) you wish to apply your
  55.                                 "decal" to, with your newly created "decal" object.
  56.  
  57.                         Step 3) Assign a unique surface name to your newly created polygon(s).
  58.  
  59.                         Step 4) Apply your image map to that surface.
  60.  
  61.  
  62. Hope this helps...
  63.  
  64. Armando Ruggeri
  65.  
  66.  
  67.  
  68.